PATTERN RECOGNITION